package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.DeptSearchContent;

public class SearchDepatrtCollectActivity extends SingleFragmentActivity {
  private String appDeptCode = "";//部门编码
  private String appDeptName = "";//部门名称
  private String startDate = "";//开始时间
  private String endDate = "";//结束时间

  private DeptSearchContent content;

  @Override protected Fragment createFragment() {

    //		appDeptCode=getIntent().getStringExtra(SearchDepatrtCollectFragment.EXTRA_DEPTCODE);
    //		appDeptName=getIntent().getStringExtra(SearchDepatrtCollectFragment.EXTRA_DEPTNAME);
    //		startDate=getIntent().getStringExtra(SearchDepatrtCollectFragment.EXTRA_STARTDATE);
    //		endDate=getIntent().getStringExtra(SearchDepatrtCollectFragment.EXTRA_ENDDATE);
    //		return SearchDepatrtCollectFragment.newInstence(appDeptCode, appDeptName, startDate, endDate);

    content = (DeptSearchContent) getIntent().getSerializableExtra(
        SearchDepatrtCollectFragment.EXTRA_VLAUE);
    return SearchDepatrtCollectFragment.newInstence(content);
  }
}
